
// 自动生成模板SysUsers
package example
import (
)

// sysUsers表 结构体  SysUsers
type SysUsers struct {
    Id  *int `json:"id" form:"id" gorm:"primarykey;column:id;comment:;size:20;"`  //id字段
    Uuid  *string `json:"uuid" form:"uuid" gorm:"column:uuid;comment:用户UUID;size:191;"`  //用户UUID
    Username  *string `json:"username" form:"username" gorm:"column:username;comment:用户登录名;size:191;"`  //用户登录名
    NickName  *string `json:"nickName" form:"nickName" gorm:"column:nick_name;comment:用户昵称;size:191;"`  //用户昵称
    Phone  *string `json:"phone" form:"phone" gorm:"column:phone;comment:用户手机号;size:191;"`  //用户手机号
    Enable  *int `json:"enable" form:"enable" gorm:"column:enable;comment:用户是否被冻结 1正常 2冻结;size:19;"`  //用户是否被冻结 1正常 2冻结
}


// TableName sysUsers表 SysUsers自定义表名 sys_users
func (SysUsers) TableName() string {
    return "sys_users"
}





